gtk4.git
12 years agocsd: Avoid jumping windows
Matthias Clasen [Fri, 27 Sep 2013 03:19:29 +0000 (23:19 -0400)]
csd: Avoid jumping windows

The size of the shadow and invisible borders can (and usually
will) change between backdrop and focused windows, while the
overall window size remains unchanged. This causes the visible
window to visually 'jump'. We can avoid this by always reserving
the maximum of the focused and unfocused border sizes. The code
for positioning the input-only windows making up the invisible
border is adjusted to deal with this. We now always place the
invisible border right outside the visible content, even if the
shadow extends out much farther.

https://bugzilla.gnome.org/show_bug.cgi?id=707524

12 years agonotebook: render a frame and background in the header
Cosimo Cecchi [Sat, 5 Mar 2011 08:03:45 +0000 (03:03 -0500)]
notebook: render a frame and background in the header

And use the "header" style class to do that.
This allows themes to set e.g. the background of the tab header
differently.

Themes will need slight adjustment to make things appear
as before.

https://bugzilla.gnome.org/show_bug.cgi?id=643914

12 years agoAllow active tab children to be styled
Cosimo Cecchi [Mon, 5 Aug 2013 09:17:08 +0000 (11:17 +0200)]
Allow active tab children to be styled

This allows one to style the children of an active
tab label from CSS.

https://bugzilla.gnome.org/show_bug.cgi?id=691163

12 years agoTrivial: correct vfunc signatures
Matthias Clasen [Thu, 26 Sep 2013 23:12:58 +0000 (19:12 -0400)]
Trivial: correct vfunc signatures

Harmless confusion between gint and gboolean
https://bugzilla.gnome.org/show_bug.cgi?id=697031

12 years agoGdkWindowX11: Prevent non renderered window to be display by the compositor
Lionel Landwerlin [Thu, 13 Jun 2013 15:36:56 +0000 (16:36 +0100)]
GdkWindowX11: Prevent non renderered window to be display by the compositor

When mapping a window for the first time, make sure the compositor
won't display it until we're done painting.

https://bugzilla.gnome.org/show_bug.cgi?id=702196

12 years agoGtkTextView: add create_buffer virtual method pointer
Sébastien Wilmet [Wed, 12 Jun 2013 11:27:17 +0000 (13:27 +0200)]
GtkTextView: add create_buffer virtual method pointer

This allows subclasses of GtkTextView that require a corresponding
subclass of GtkTextBuffer to automatically do the right thing when
constructed with a NULL buffer. An example of this is GtkSourceView
which requires a GtkSourceBuffer.

https://bugzilla.gnome.org/show_bug.cgi?id=708584

12 years agoUpdate Demos Visual Studio Projects
Chun-wei Fan [Thu, 26 Sep 2013 11:50:56 +0000 (19:50 +0800)]
Update Demos Visual Studio Projects

Improve optimization, by re-enabling WholeProgramOptimization but changing
the linker optimization to not drop items that are not referenced in code
(such as compiled gresource sources that are not directly referenced in
code, as they are still needed for the demos to run properly).

12 years agoFixups to GtkStack
Matthias Clasen [Thu, 26 Sep 2013 03:52:39 +0000 (23:52 -0400)]
Fixups to GtkStack

The GtkStack and GtkStackSwitcher code did not really
follow GTK+ conventions for includes. Fix that, and also
fix up a case of gpointer vs gpointer* confusion
in gtkstack.c.

12 years agoUse a stack in GtkAboutDialog
Matthias Clasen [Thu, 26 Sep 2013 03:50:51 +0000 (23:50 -0400)]
Use a stack in GtkAboutDialog

This lets us slide the credits and license sections up and down,
instead of just popping them into existence abruptly.

12 years agoTest new transition types
Matthias Clasen [Sat, 31 Aug 2013 15:59:19 +0000 (11:59 -0400)]
Test new transition types

We should make teststack pick up new transitions automatically.
For now, we have to add them manually.

https://bugzilla.gnome.org/show_bug.cgi?id=707187

12 years agoGtkStack: Add more transition types
Matthias Clasen [Sat, 31 Aug 2013 16:00:47 +0000 (12:00 -0400)]
GtkStack: Add more transition types

This adds new 'over' and 'under' transitions which work by moving
the new page over the previous one, or moving the previous page off
to reveal the new one. We also add an over/under combination that
is going to be used in GtkAboutDialog.

https://bugzilla.gnome.org/show_bug.cgi?id=707187

12 years agoGtkAboutDialog: prevent unintended visibility
Matthias Clasen [Thu, 26 Sep 2013 02:51:33 +0000 (22:51 -0400)]
GtkAboutDialog: prevent unintended visibility

Some of the labels were not marked as no-show-all. But the
code clearly tries to manage their visibility, so gtk_widget_show_all()
should not affect them.

https://bugzilla.gnome.org/show_bug.cgi?id=681484

12 years agoAdd a needs-attention child property to GtkStack
Paolo Borelli [Fri, 30 Aug 2013 20:32:42 +0000 (22:32 +0200)]
Add a needs-attention child property to GtkStack

The child property is watched by the StackSwicther which in turns sets a
needs-attention css class on the corresponding button, so that the theme
can for instance show a throbbing animation if one of the hidden pages
needs the user attention.

https://bugzilla.gnome.org/show_bug.cgi?id=707153

12 years agoa11y: don't shutdown accessibility, so the atk bridge is always valid
Mario Sanchez Prada [Mon, 16 Sep 2013 15:57:49 +0000 (16:57 +0100)]
a11y: don't shutdown accessibility, so the atk bridge is always valid

This will fix issues in applications that for some reason make
several and not nested calls to gtk_main() during their lifetime,
effectively initializing a11y when the first, top most, main loop
is being run and shutting it down then that loop is quit.

https://bugzilla.gnome.org/show_bug.cgi?id=708024

https://bugzilla.gnome.org/show_bug.cgi?id=684076

12 years agoentrycompletion: set the GtkWindow as attached to the GtkEntry
Cosimo Cecchi [Thu, 19 Sep 2013 20:35:00 +0000 (13:35 -0700)]
entrycompletion: set the GtkWindow as attached to the GtkEntry

This way themes can easily select that window to apply custom styles.

https://bugzilla.gnome.org/show_bug.cgi?id=708414

12 years agoUpdated German translation
Christian Kirbach [Wed, 25 Sep 2013 13:22:06 +0000 (15:22 +0200)]
Updated German translation

12 years ago[l10n] Update Catalan translation
Josep Sànchez [Tue, 24 Sep 2013 21:42:11 +0000 (23:42 +0200)]
[l10n] Update Catalan translation

12 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Tue, 24 Sep 2013 20:11:35 +0000 (22:11 +0200)]
Updated Basque language

12 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Tue, 24 Sep 2013 15:51:12 +0000 (17:51 +0200)]
Updated Basque language

12 years agogdkcairo: Actually paint the pixbuf
Benjamin Otte [Tue, 24 Sep 2013 15:43:44 +0000 (17:43 +0200)]
gdkcairo: Actually paint the pixbuf

I accidentally a line before committing
b41787bc788d03aaf3dc3c734bc7e8161c1e713a - whoops.

12 years agotestsuite: Add a test for functions that work without gtk_init()
Benjamin Otte [Tue, 24 Sep 2013 13:53:34 +0000 (15:53 +0200)]
testsuite: Add a test for functions that work without gtk_init()

So far, this is just supposed to be gdk_cairo_set_source_pixbuf().

Note that this is usually not an API guarantee but courtesy to
applications that used these APIs without a gtk_init() call.

https://bugzilla.gnome.org/show_bug.cgi?id=708547

12 years agogdkcairo: Don't require gtk_init() for set_source_pixbuf()
Benjamin Otte [Tue, 24 Sep 2013 14:37:37 +0000 (16:37 +0200)]
gdkcairo: Don't require gtk_init() for set_source_pixbuf()

Instead of using the default display's root window's surface, use the
target surface of the passed in cairo_t to create the similar image from.

https://bugzilla.gnome.org/show_bug.cgi?id=708547

12 years agogdkcairo: Split out a function
Benjamin Otte [Tue, 24 Sep 2013 14:34:24 +0000 (16:34 +0200)]
gdkcairo: Split out a function

This is in preparation for the next patch.

12 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Tue, 24 Sep 2013 11:17:12 +0000 (19:17 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

12 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Tue, 24 Sep 2013 07:18:50 +0000 (09:18 +0200)]
Updated Basque language

12 years agoIntroduce version macros for 3.12
Matthias Clasen [Mon, 23 Sep 2013 22:55:28 +0000 (18:55 -0400)]
Introduce version macros for 3.12

12 years agoBump version
Matthias Clasen [Mon, 23 Sep 2013 19:08:50 +0000 (15:08 -0400)]
Bump version

3.11 is open for business.

12 years agoUpdated Danish translation
Kenneth Nielsen [Mon, 23 Sep 2013 17:35:20 +0000 (19:35 +0200)]
Updated Danish translation

12 years agoUpdated Hebrew translation
Yosef Or Boczko [Mon, 23 Sep 2013 14:11:26 +0000 (17:11 +0300)]
Updated Hebrew translation

Signed-off-by: Yosef Or Boczko <yoseforb@gmail.com>
12 years ago[l10n] Updated Italian translation.
Milo Casagrande [Mon, 23 Sep 2013 12:56:18 +0000 (14:56 +0200)]
[l10n] Updated Italian translation.

12 years agoUpdate Czech transaltion
Petr Kovar [Mon, 23 Sep 2013 13:00:29 +0000 (15:00 +0200)]
Update Czech transaltion

12 years agoUpdate Czech translation
Petr Kovar [Mon, 23 Sep 2013 12:26:32 +0000 (14:26 +0200)]
Update Czech translation

12 years agoicon-theme: Better handling of unscaled icon directories
Alexander Larsson [Mon, 23 Sep 2013 10:42:30 +0000 (12:42 +0200)]
icon-theme: Better handling of unscaled icon directories

If an icon is in a Fixed or Threshold directory we normally don't
scale it. However, in the case of HiDPI scaling we *do* want to
scale it, to avoid different layouts in Lo/HiDPI. We look up whatever
the size of the icon would have been in LoDPI and scale to that
in the no-scaling case, thus getting the same layout as the
unscaled case.

https://bugzilla.gnome.org/show_bug.cgi?id=708384

12 years agoicon-theme: Make icon_info_new() have some args
Alexander Larsson [Mon, 23 Sep 2013 10:37:36 +0000 (12:37 +0200)]
icon-theme: Make icon_info_new() have some args

This gets rid of a bunch of duplicated code.

12 years agotesticontheme: Add some tests for scales
Alexander Larsson [Mon, 23 Sep 2013 10:07:30 +0000 (12:07 +0200)]
testicontheme: Add some tests for scales

12 years agodemos/gtk-demo/toolpalette.c: Avoid C99ism
Chun-wei Fan [Mon, 23 Sep 2013 05:25:49 +0000 (13:25 +0800)]
demos/gtk-demo/toolpalette.c: Avoid C99ism

Avoid declaring variable at the middle of the block

12 years agoAssamese translation updated
Nilamdyuti Goswami [Mon, 23 Sep 2013 07:55:09 +0000 (13:25 +0530)]
Assamese translation updated

12 years agoUpdated Indonesian translation
Andika Triwidada [Mon, 23 Sep 2013 02:48:12 +0000 (09:48 +0700)]
Updated Indonesian translation

12 years agoUpdated slovak translation
Peter Mráz [Sun, 22 Sep 2013 20:53:53 +0000 (22:53 +0200)]
Updated slovak translation

12 years agoUpdated slovak translation
Pavol Klačanský [Sun, 22 Sep 2013 14:37:05 +0000 (16:37 +0200)]
Updated slovak translation

12 years agoUpdated French translation
Claude Paroz [Sun, 22 Sep 2013 18:04:27 +0000 (20:04 +0200)]
Updated French translation

12 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 22 Sep 2013 14:40:38 +0000 (17:40 +0300)]
Updated Lithuanian translation

12 years agoMSVC Builds: "Install" gtklistboxrowaccessible.h
Chun-wei Fan [Sun, 22 Sep 2013 14:10:28 +0000 (22:10 +0800)]
MSVC Builds: "Install" gtklistboxrowaccessible.h

...which is an a11y header introduced in commit c22e27f9.

12 years agoUpdated slovak translation
Pavol Klačanský [Sun, 22 Sep 2013 13:41:43 +0000 (15:41 +0200)]
Updated slovak translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 22 Sep 2013 10:11:29 +0000 (12:11 +0200)]
Updated Spanish translation

12 years agoUpdated Hebrew properties translation
Yosef Or Boczko [Sun, 22 Sep 2013 09:34:32 +0000 (12:34 +0300)]
Updated Hebrew properties translation

12 years agoUpdated Hebrew translation
Yosef Or Boczko [Sun, 22 Sep 2013 09:31:01 +0000 (12:31 +0300)]
Updated Hebrew translation

12 years agoImprove struct packing in various places
Matthias Clasen [Sun, 22 Sep 2013 03:37:48 +0000 (23:37 -0400)]
Improve struct packing in various places

12 years agoRemove priv pointer from GtkStackSwitcher
Matthias Clasen [Sun, 22 Sep 2013 03:36:05 +0000 (23:36 -0400)]
Remove priv pointer from GtkStackSwitcher

This is a new widget, so lets avoid the unnecessary
priv pointer while we still can.

12 years agoImprove struct packing in GdkWindowImplWayland
Matthias Clasen [Sun, 22 Sep 2013 03:35:02 +0000 (23:35 -0400)]
Improve struct packing in GdkWindowImplWayland

12 years agoUpdated Portuguese translation
Duarte Loreto [Sun, 22 Sep 2013 01:50:58 +0000 (02:50 +0100)]
Updated Portuguese translation

12 years agoUpdated Portuguese translation
Duarte Loreto [Sun, 22 Sep 2013 01:29:51 +0000 (02:29 +0100)]
Updated Portuguese translation

12 years agoSmall cleanup for the previous commit
Matthias Clasen [Sun, 22 Sep 2013 00:56:46 +0000 (20:56 -0400)]
Small cleanup for the previous commit

When setting an accessible type, we don't need to
set an accessible row anymore.

12 years agoAdd a GtkListBoxRow accessible
Matthias Clasen [Sun, 22 Sep 2013 00:49:18 +0000 (20:49 -0400)]
Add a GtkListBoxRow accessible

This lets us do two things:
1. Set the list-item role
2. Set selectable and selected states as appropriate

https://bugzilla.gnome.org/show_bug.cgi?id=692258

12 years agoSmall improvement to GtkLinkButton a11y
Matthias Clasen [Sun, 22 Sep 2013 00:29:09 +0000 (20:29 -0400)]
Small improvement to GtkLinkButton a11y

ATK has a visited state, so propagate the visited property
of GtkLinkButton to that state.

12 years agoUpdated Latvian translatio
Rūdolfs Mazurs [Sat, 21 Sep 2013 18:51:20 +0000 (21:51 +0300)]
Updated Latvian translatio

12 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 21 Sep 2013 18:27:52 +0000 (20:27 +0200)]
Updated Slovenian translation

12 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sat, 21 Sep 2013 10:36:08 +0000 (16:36 +0600)]
Update Kazakh translation

12 years agoplaces sidebar: Don't activate the bookmark if Eject was clicked
Federico Mena Quintero [Sat, 21 Sep 2013 02:13:31 +0000 (21:13 -0500)]
places sidebar: Don't activate the bookmark if Eject was clicked

This should really fix https://bugzilla.gnome.org/show_bug.cgi?id=704087 ...

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
12 years agoTrivial typo fix
Matthias Clasen [Sat, 21 Sep 2013 00:16:00 +0000 (20:16 -0400)]
Trivial typo fix

12 years agoUpdated Brazilian Portuguese translation
Enrico Nicoletto [Sat, 21 Sep 2013 01:33:15 +0000 (22:33 -0300)]
Updated Brazilian Portuguese translation

12 years agoUpdated Galician translations
Fran Diéguez [Fri, 20 Sep 2013 22:00:18 +0000 (00:00 +0200)]
Updated Galician translations

12 years agoUpdated Polish translation
Piotr Drąg [Fri, 20 Sep 2013 19:06:57 +0000 (21:06 +0200)]
Updated Polish translation

12 years agoAdd accessible names to csd buttons
Matthias Clasen [Fri, 20 Sep 2013 19:01:24 +0000 (15:01 -0400)]
Add accessible names to csd buttons

Its the right thing to do.

12 years agoUpdated Scottish Gaelic translation
GunChleoc [Fri, 20 Sep 2013 18:14:50 +0000 (12:14 -0600)]
Updated Scottish Gaelic translation

12 years agoUpdated Scottish Gaelic translation
GunChleoc [Fri, 20 Sep 2013 18:02:48 +0000 (12:02 -0600)]
Updated Scottish Gaelic translation

12 years agoicontheme: Make sure icon_info->scale doesn't end up 0
Florian Müllner [Tue, 17 Sep 2013 20:37:06 +0000 (22:37 +0200)]
icontheme: Make sure icon_info->scale doesn't end up 0

GdkPixbuf will fail returning %NULL if we try to scale a pixbuf to (0, 0),
which will then trigger an assertion in gtk_icon_info_load_icon_finish();
we never want a scale of 0, so ensure it is at least 1.

https://bugzilla.gnome.org/show_bug.cgi?id=708384

12 years agoAssamese translation updated
Nilamdyuti Goswami [Fri, 20 Sep 2013 12:43:49 +0000 (18:13 +0530)]
Assamese translation updated

12 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Fri, 20 Sep 2013 05:50:59 +0000 (13:50 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

12 years agoplaces sidebar: don't open a bookmark when clicking eject
Joshua Lock [Fri, 12 Jul 2013 11:39:23 +0000 (12:39 +0100)]
places sidebar: don't open a bookmark when clicking eject

Trying to open a bookmark which is being ejected is at best confusing.

https://bugzilla.gnome.org/show_bug.cgi?id=704087

12 years agolistbox: Don't crash if cursor_row is NULL in real_focus
Alexander Larsson [Thu, 19 Sep 2013 20:37:53 +0000 (22:37 +0200)]
listbox: Don't crash if cursor_row is NULL in real_focus

https://bugzilla.gnome.org/show_bug.cgi?id=708320

12 years agoListBox: Update docs of GtkListBoxUpdateHeaderFunc
Timm Bäder [Mon, 16 Sep 2013 18:08:35 +0000 (20:08 +0200)]
ListBox: Update docs of GtkListBoxUpdateHeaderFunc

before is always NULL for the first row.

12 years agoUpdated Serbian translation
Мирослав Николић [Wed, 18 Sep 2013 19:05:35 +0000 (21:05 +0200)]
Updated Serbian translation

12 years agoUpdated Serbian translation
Мирослав Николић [Wed, 18 Sep 2013 19:03:40 +0000 (21:03 +0200)]
Updated Serbian translation

12 years agocssimage: Report filename of file failing to load
Benjamin Otte [Wed, 18 Sep 2013 15:07:18 +0000 (17:07 +0200)]
cssimage: Report filename of file failing to load

12 years agoRevert "appchooserwidget: check for g_app_info_should_show()"
Cosimo Cecchi [Tue, 17 Sep 2013 18:00:59 +0000 (11:00 -0700)]
Revert "appchooserwidget: check for g_app_info_should_show()"

This reverts commit 84922d331768ba9046d9737dbe66468ac45d41f2.

https://bugzilla.gnome.org/show_bug.cgi?id=702681

12 years agoRevert "appchooserbutton: filter out applications not supposed to be visible"
Cosimo Cecchi [Tue, 17 Sep 2013 18:00:22 +0000 (11:00 -0700)]
Revert "appchooserbutton: filter out applications not supposed to be visible"

This reverts commit 5568dcb53c3a322b8399dc520fb539985814f451.

https://bugzilla.gnome.org/show_bug.cgi?id=702681

12 years agoUpdated Russian translation
Yuri Myasoedov [Tue, 17 Sep 2013 17:02:28 +0000 (21:02 +0400)]
Updated Russian translation

12 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Tue, 17 Sep 2013 16:24:32 +0000 (22:24 +0600)]
Update Kazakh translation

12 years agoPost-release version bump
Matthias Clasen [Tue, 17 Sep 2013 15:05:33 +0000 (11:05 -0400)]
Post-release version bump

12 years ago3.9.16
Matthias Clasen [Tue, 17 Sep 2013 09:58:07 +0000 (05:58 -0400)]
3.9.16

12 years agowindow: Fix child wfh size request
Benjamin Otte [Tue, 17 Sep 2013 13:52:27 +0000 (15:52 +0200)]
window: Fix child wfh size request

We need to subtract border_width from the size we're passing to the
children hfw functions as those are added by ourselves.

Fixes the window-border-width.ui reftest.

12 years agoMore documentation fixes
Matthias Clasen [Tue, 17 Sep 2013 05:28:39 +0000 (01:28 -0400)]
More documentation fixes

12 years agoDocument some Wayland apis
Matthias Clasen [Tue, 17 Sep 2013 05:16:13 +0000 (01:16 -0400)]
Document some Wayland apis

12 years agoTrivial formatting fixes
Matthias Clasen [Tue, 17 Sep 2013 05:13:31 +0000 (01:13 -0400)]
Trivial formatting fixes

12 years agoDocumentation fixes
Matthias Clasen [Tue, 17 Sep 2013 05:13:03 +0000 (01:13 -0400)]
Documentation fixes

12 years agoAdd some functions to the docs
Matthias Clasen [Tue, 17 Sep 2013 04:47:54 +0000 (00:47 -0400)]
Add some functions to the docs

12 years agoPlug a memory leak in the css parser
Matthias Clasen [Tue, 17 Sep 2013 03:30:57 +0000 (23:30 -0400)]
Plug a memory leak in the css parser

color_value_parse was leaking a GtkCssSymbolicValue.
Reported in

https://bugzilla.gnome.org/show_bug.cgi?id=702034

12 years agoMore a11y test updates
Matthias Clasen [Tue, 17 Sep 2013 03:29:42 +0000 (23:29 -0400)]
More a11y test updates

The headerbar test and the buttons tests changed because we've
recently changed accessible names, descriptions and roles of
GtkHeaderBar and GtkSwitch.

12 years agoDon't activate GtkExpander if mouse dragged away
Philip Chimento [Thu, 22 Aug 2013 05:03:02 +0000 (22:03 -0700)]
Don't activate GtkExpander if mouse dragged away

Previously, when you clicked and held the button down on a
GtkExpander's label or disclosure triangle, then moved the mouse
away and released the button, the expander would still activate.
This brings the behavior in line with the more generally expected
behavior, as exhibited by GtkButton for example.

https://bugzilla.gnome.org/show_bug.cgi?id=706345

12 years agoClarify GtkH/VBox documentation
Matthias Clasen [Tue, 17 Sep 2013 02:38:49 +0000 (22:38 -0400)]
Clarify GtkH/VBox documentation

Make it clearer that GtkBox still has uses.

https://bugzilla.gnome.org/show_bug.cgi?id=706269

12 years agoImprove gtk_widget_insert_action_group docs
Matthias Clasen [Tue, 17 Sep 2013 01:13:00 +0000 (21:13 -0400)]
Improve gtk_widget_insert_action_group docs

Mention that group can be NULL. Related to

https://bugzilla.gnome.org/show_bug.cgi?id=708150

12 years agoBump Wayland dep
Matthias Clasen [Tue, 17 Sep 2013 01:07:32 +0000 (21:07 -0400)]
Bump Wayland dep

We need Wayland 1.2.0 for wl_surface_set_buffer_scale.

https://bugzilla.gnome.org/show_bug.cgi?id=708012

12 years agoImprove headerbar docs slightly
Matthias Clasen [Tue, 17 Sep 2013 00:24:48 +0000 (20:24 -0400)]
Improve headerbar docs slightly

Explain how to achieve the same title lable style when using
a custom title.

12 years agoAvoid a segfault when menus are re-shown under Wayland
Matthias Clasen [Mon, 16 Sep 2013 23:01:48 +0000 (19:01 -0400)]
Avoid a segfault when menus are re-shown under Wayland

The surface is destroyed when we hide a window, but
gdk_window_set_opaque_region can be called before the window is
shown again, so we need to ensure the surface exits.

https://bugzilla.gnome.org/show_bug.cgi?id=707328

12 years agoTrivial formatting fixes
Matthias Clasen [Mon, 16 Sep 2013 21:23:29 +0000 (17:23 -0400)]
Trivial formatting fixes

12 years agoAllow theme to set close button position in headerbars
Matthias Clasen [Mon, 16 Sep 2013 20:13:07 +0000 (16:13 -0400)]
Allow theme to set close button position in headerbars

This allows GTK+ applications with headerbars to fit in
better in platforms that have window controls on the left.

To use this, set -GtkWindow-decoration-button-layout: 'close:'
in the theme.

https://bugzilla.gnome.org/show_bug.cgi?id=706708

12 years agoInclude CSD titlebar in focus chain
Matthias Clasen [Mon, 16 Sep 2013 18:26:08 +0000 (14:26 -0400)]
Include CSD titlebar in focus chain

At least for header bars, there's often application controls
in this area, which should be included in the focus chain.
We make it so that the initial focus avoids the titlebar,
but tabbing around will eventually get there.

https://bugzilla.gnome.org/show_bug.cgi?id=708067

12 years agoUpdated Hebrew translation
Yosef Or Boczko [Mon, 16 Sep 2013 18:15:26 +0000 (21:15 +0300)]
Updated Hebrew translation

12 years agoDon't pass NULL to gdk_window_set_title
Matthias Clasen [Mon, 16 Sep 2013 17:06:13 +0000 (13:06 -0400)]
Don't pass NULL to gdk_window_set_title

That is not allowed. This is fallout from a recent change
that makes GtkWindow listen for title changes in its
headerbar.